home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-08-06 | 2.6 KB | 58 lines | [TEXT/CIM ] |
- The following describes how I created a phone dialer in FileMaker Pro on the Mac using AppleEvents and the following utilities:
-
- QuickKeys II (CE Software, commercial product)
- Dialer (MacAVen forum, library 14, DIALER.SIT, shareware, $15)
- CloseModem (Communications forum, library 4, CLOSEM.SIT, freeware)
-
- 1. Create a QuickKey sequence called Dial Clipboard in the Universal
- Keyset:
-
- Alias: Command-C (copy what's selected into clipboard)
- File: Dialer (execute Dialer DA or application)
- Message: "Release Now" (Check "Show OK button" and "Continue
- automatically after 10 seconds" - this
- is optional)
- Alias: Command-W (Closes Dialer window and process)
- File: CloseModem (Executes application to close modem properly,
- something Dialer DOESN'T do until the long-
- awaited Next Release)
-
- This QuickKey can be used independently of FM Pro if you put it
- on the QuickKeys menu and/or give it a keyboard command. It will
- dial whatever is selected in whatever application and dial it.
-
- The function of the message is to allow Dialer to function, then
- cut it off after 10 seconds, assuming you've picked up the phone
- by then. You can cut it off immediately (even in mid-dial) by
- hitting the button or hitting "return".
-
- 2. Create a two-command script in FileMaker Pro (see file FMAEDL.TXT
- for FM Pro versions before 2.0v4):
-
- Copy (Select,"field_name")
- This selects the field you specify, presumably the one with
- a number in it, and copies it to the clipboard. Note: the
- Command-C alias in the QuickKey has no effect.
- Send Apple Event ("QKy2","QPNm","CEIAC")
- This is created by specifying the "select" button. Choose
- "Other" from the top pull-down menu in the dialog window
- and fill in Event Class QKY2 and Event ID QPNm". Then click
- the Script Text button and fill in the QuickKey name: Dial
- Clipboard". Finally, Click the "Specify Application" button
- and choose CEIAC from the Extensions folder in the System
- folder.
-
- 3. Create a button (optional)
-
- I create a button that I place next to the field with the phone
- number in it, put the text "Dial" in it, and define it to execute
- the script prepared in 2. above. For instance, if the field is
- "Home Phone", I use that name in the script, name the script "Dial
- Home" and have the button execute it.
-
- This has worked like a charm since I discovered CloseModem and figured
- out the AppleEvent commands by extensive trial and error (before reading
- FMAEDL.TXT).
-
- Comments? Send to me, Dave Ressler, at 70403,3665.
-